package ooday05.homework;

public class EnumTest2 {
    public static void main(String[] args) {
        Seasons2 s = Seasons2.WINTER;
        System.out.println(s.getSeasonName()+"，"+s.getSeasonDesc());

        Seasons2[] seasons = Seasons2.values();
        for (int i = 0;i< seasons.length;i++){
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
    }
}
